//
//  CCVSHyperLink+Utilities.m
//  ClinicalCollections
//
//  Created by Pasirstein, David B on 4/19/13.
//  Copyright (c) 2013 GOPI. All rights reserved.
//

#import "CCVSHyperLink+Utilities.h"
#import "CommonAPI.h"

@implementation CCVSHyperLink (Utilities)


+(NSURL*)createClinicalCollectionsURLWithNTCID:(NSString*)ntcid
{
    return [NSURL URLWithString:[NSString stringWithFormat:@CLINICAL_COLLECTIONS_URL, ntcid]];
}

+(NSURL*)createClinicalTrialsGovURLWithNTCID:(NSString*)ntcid
{
    return [NSURL URLWithString:[NSString stringWithFormat:@CLINICAL_TRIALSGOV_URL, ntcid]];
}


@end
